Collaboration diagram for XFcGLTexture:
Public Member Functions | |
virtual XFCIMPORT | ~XFcGLTexture () |
Virtual destructor. | |
XFCIMPORT INT32 | getSurfaceCount () |
Returns surface count for this texture. | |
XFCIMPORT INT32 | getSurfaceFormat () |
Returns surface format for this texture. | |
XFCIMPORT XFcGLSurface * | lock (INT32 aSurfaceIndex) |
Locks a specific surface in this texture. | |
XFCIMPORT INT | unlock (INT32 aSurfaceIndex) |
Unlocks a specific surface in this texture. | |
XFCIMPORT INT32 | getPrimarySurfaceWidth () |
Returns the largest surface width. | |
XFCIMPORT INT32 | getPrimarySurfaceHeight () |
Returns the largest surface height. | |
XFCIMPORT INT32 | getTexelFormat () |
Returns the texel format for this texture. | |
XFCIMPORT void | preload () |
Preloads the texture for rendering. | |
XFCIMPORT INT32 | getGLData () |
Returns the graphics device data hook. [Internal]. | |
XFCIMPORT void | setGLData (INT32 aData) |
Sets the graphics device data hook. [Internal]. | |
XFCIMPORT XFcGLTexture * | getNext () |
Returns the next texture in the linked list. [Internal]. | |
XFCIMPORT XFcGLTextureBuilder * | getBuilder () |
Returns the builder for this texture. [Internal]. | |
Static Public Member Functions | |
XFCIMPORT XFcGLTexture * | create (XFcGLTextureBuilder *aBuilder, INT32 aFlags=0) |
Static constructor. | |
XFCIMPORT void | filterMapPointSample55X5 (XFcGLSurface *aSrc, void *aTgt) |
Calculates mipmap level data based on one level higher data. | |
XFCIMPORT void | filterMapLinear55X5 (XFcGLSurface *aSrc, void *aTgt) |
Calculates mipmap level data based on one level higher data. | |
XFCIMPORT void | filterMapPointSample5515 (XFcGLSurface *aSrc, void *aTgt) |
Calculates mipmap level data based on one level higher data. | |
XFCIMPORT void | filterMapLinear5515 (XFcGLSurface *aSrc, void *aTgt) |
Calculates mipmap level data based on one level higher data. | |
XFCIMPORT void | filterMapPointSamplePal55X5 (XFcGLSurface *aSrc, void *aTgt) |
Calculates mipmap level data based on one level higher data. | |
Protected Member Functions | |
XFcGLTexture () | |
Protected constructor. | |
Protected Attributes | |
XFcGLTextureBuilder * | mBuilder |
Texture builder object for this texture. | |
XFcGLComplexSurfaceResource * | mSurface |
Resource that contains the surface data for all surfaces for this texture. | |
XFcGLTexture * | mNext |
Internal linked list of all textures. | |
INT32 | mWidth |
Largest surface width. | |
INT32 | mHeight |
Largest surface height. | |
INT32 | mFormat |
Texture surface format. | |
INT32 | mGLData |
Intenal: graphics device data hook. |
Encapsulates a single texture. The texture may have multiple surfaces, which are used for mip mapping. Most often textures are created using the XFcGLTextureFromFile class.
|
Virtual destructor.
|
|
Protected constructor.
|
|
Static constructor. In order to create a texture, you have to extend the XFcGLTextureBuilder class, create an object of said class and pass it as a parameter to this create-function. The texture builder object knows how to create the texture surfaces whenever they are needed, and since all texture surfaces are resources, the memory manager may discard them when the system is running low on memory. The flags are a combination of resource manager flags and the texture creation flags.
|
|
Calculates mipmap level data based on one level higher data.
|
|
Calculates mipmap level data based on one level higher data.
|
|
Calculates mipmap level data based on one level higher data.
|
|
Calculates mipmap level data based on one level higher data.
|
|
Calculates mipmap level data based on one level higher data.
|
|
Returns the builder for this texture. [Internal].
|
|
Returns the graphics device data hook. [Internal].
|
|
Returns the next texture in the linked list. [Internal].
|
|
Returns the largest surface height.
|
|
Returns the largest surface width.
|
|
Returns surface count for this texture.
|
|
Returns surface format for this texture.
|
|
Returns the texel format for this texture.
|
|
Locks a specific surface in this texture.
|
|
Preloads the texture for rendering. This call is completely voluntary; the system will load the texture when it's needed next. |
|
Sets the graphics device data hook. [Internal].
|
|
Unlocks a specific surface in this texture.
|
|
Texture builder object for this texture.
|
|
Texture surface format.
|
|
Intenal: graphics device data hook.
|
|
Largest surface height.
|
|
Internal linked list of all textures.
|
|
Resource that contains the surface data for all surfaces for this texture.
|
|
Largest surface width.
|
![]() | ||||
![]() |
Confidential Copyright © 2002-2003 Fathammer | with doxygen by Dimitri van Heesch |